﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="TestSwfUpload.WebForm1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script>
       
        function upload() {
            document.getElementById('fileUpload').click();
        }
    </script>
    <style>
        .hide { display: none; }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <div >
                <input type="file" id="fileUpload" onchange="PreviewImage(this)" />
            </div>
            <div id="imgPreview" style="width: 140px; height: 140px;">
            </div>
        </div>
    </form>
</body>
</html>
